package com.taiji.workOrder.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.taiji.common.annotation.Excel;
import com.taiji.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import java.util.Date;

/**
 * 工单信息对象 report
 *
 * @author taiji
 * @date 2023-08-08
 */
@ApiModel(value = "Report", description = "报告信息对象")
public class Report extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("编号")
    private String id;

    /** 项目编码 */
    @Excel(name = "项目编码")
    @ApiModelProperty("项目编码")
    private String projectCode;

    /** 报告编码 */
    @Excel(name = "报告编码")
    @ApiModelProperty("报告编码")
    private String reportCode;

    /** 报告名称 */
    @Excel(name = "报告名称")
    @ApiModelProperty("报告名称")
    private String name;

    /** 存储路径 */
    @Excel(name = "存储路径")
    @ApiModelProperty("存储路径")
    private String url;

    /** 报告类型 */
    @Excel(name = "报告类型")
    @ApiModelProperty("报告类型")
    private String type;

    @Override
    public String toString() {
        return "Report{" +
                "id='" + id + '\'' +
                ", projectCode='" + projectCode + '\'' +
                ", reportCode='" + reportCode + '\'' +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", type='" + type + '\'' +
                ", reportType='" + reportType + '\'' +
                ", reportTime=" + reportTime +
                '}';
    }

    /** 类型 */
    @Excel(name = "类型")
    private String reportType;

    @Excel(name = "报告时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reportTime;



    public Date getReportTime() {
        return reportTime;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setProjectCode(String projectCode)
    {
        this.projectCode = projectCode;
    }

    public String getProjectCode()
    {
        return projectCode;
    }
    public void setReportCode(String reportCode)
    {
        this.reportCode = reportCode;
    }

    public String getReportCode()
    {
        return reportCode;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setReportType(String reportType)
    {
        this.reportType = reportType;
    }

    public String getReportType()
    {
        return reportType;
    }

}